<?php

/**
 * Project form.
 *
 * @package    help
 * @subpackage form
 * @author     Evgeny Babin <psylosss@gmail.com>
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ProjectForm extends BaseProjectForm
{
  public function configure()
  {
  
    $this->widgetSchema['created_at']=new sfWidgetFormReadonly(array(
      'value'=>$this->getObject()->getDateTimeObject('created_at')->format('d.m.Y, H:i:s'),
    ));
    
    $this->widgetSchema['updated_at']=new sfWidgetFormReadonly(array(
      'value'=>$this->getObject()->getDateTimeObject('updated_at')->format('d.m.Y, H:i:s'),
    ));
    
    unset($this->validatorSchema['created_at']);
    unset($this->validatorSchema['updated_at']);
    
  }
}
